package com.bean;

import java.sql.Date;

/**
 * Created by Yuicon on 2017/3/23.
 */
public class Comment {

    private String id;

    private String content;

    private Date createTime;

    private String userId;

    private String articleId;

    public Comment(String id, String content, Date createTime, String userId, String articleId) {
        this.id = id;
        this.content = content;
        this.createTime = createTime;
        this.userId = userId;
        this.articleId = articleId;
    }

    public Comment(){

    }

    public String getArticleId() {
        return articleId;
    }

    public void setArticleId(String articleId) {
        this.articleId = articleId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
}
